package com.xqboss.apps.dto.consumer;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 阿里验证码请求参数
 *
 * @author Administrator
 */
@Data
public class SmsCodeDto {

    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号错误")
    private String username;

    @ApiModelProperty("业务类型")
    @NotBlank(message = "验证码类型错误")
    private String type;

    @ApiModelProperty("验证码参数")
    @NotBlank(message = "验证码参数错误")
    private String captchaVerifyParam;
}
